package priv.lhy.activity.commons;

/**
 * author : lihy
 * date : 2019/2/15 13:57
 */
public enum ReturnCodeEnum {

    SUCCESS("000000", "成功"),
    SYSTEM_ERROR("100999", "系统繁忙,请稍后重试"),
    PARAMETER_NULL("100001", "请求参数不正确");

    private String code;

    private String msg;

    private ReturnCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
